package org.kazao.calendar.demo;

import java.awt.Dimension;
import java.awt.Toolkit;
import javax.swing.JFrame;

public class Main {
    
    public Main() {
        Demo d = new Demo();
        JFrame f = new JFrame();
        f.setResizable(false);
        f.setTitle("Kazao Calendar Demo");        
        f.getContentPane().add(d);
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        f.setBounds((screenSize.width-540)/2, (screenSize.height-410)/2, 540, 410);
        f.setVisible(true);       
    }
    
    public static void main(String[] args) {
        new Main();
    }
    
}
